// 基于template/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IEditViewModel } from "@/core/interface/view/model";
function getModel(): IEditViewModel {
  return {
    caption: "测试test3.31",
    title: "测试test3.31",
    capPSLanguageRes: "",
    titlePSLanguageRes: "",
    showDataInfoBar: true,
    codeName: 'IBIZAPPVIEWUsr0331348027EditView',
    uiEngineModel: [
        ],
    ctrls: [
        {
            name: 'toolbar',
            codeName: 'Usr0331348027EditViewtoolbar',
            controlType: 'TOOLBAR',
        },
        {
            name: 'form',
            codeName: 'Usr0331633066',
            controlType: 'FORM',
        }
    ],
    ctrlParams: {
        IBIZAPPVIEWtoolbar: {},
        IBIZAPPVIEWform: {},
    },
    cssName: "",
    name: "IBIZAPPVIEWUsr0331348027EditView",
    viewType: "DEEDITVIEW",
    viewStyle: "DEFAULT",
    showCaption: true,
    isLoadDefault: true,
    entityCodeName: "IBIZAPPVIEW",
    keyPSAppDEField: "IBIZAPPVIEWId",
    majorPSAppDEField: "IBIZAPPVIEWName",
    expandSearchForm:false,
    xDataCtrlName: "form",
    quickSearchPlaceholder: ['应用视图名称',].join(","),
    useDefaultLayout: false,
    layoutMode: "FLEX",
    rootLayoutDetailNames: ["page_container"],
    toolbarItems: [
    ],
    layoutItems: {
      page_container: {
          name: "page_container",
          type: "VIEWLAYOUT",
          caption: "容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "FLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "column",
              vAlign: "",
          },
          details: ["container_grid1","container3","colorspan","container_group1"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container_grid1: {
          name: "container_grid1",
          type: "VIEWLAYOUT",
          caption: "栅格容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "SIMPLEFLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "page_container",
          details: ["container1","container_2"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container1: {
          name: "container1",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "TABLE_24COL",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 6,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_grid1",
          details: ["view_pagecaption"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      view_pagecaption: {
          name: "view_pagecaption",
          type: "VIEWLAYOUT",
          caption: "页面标题",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "FIELD",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "FULL",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "LEFT",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container1",
          required: false,
          dataItemName: "",
          predefinedType: "VIEW_PAGECAPTION",
          editorDynaClass: "",
          renderMode: "HEADING1",
          wrapMode: "NOWRAP",
          vAlign: "MIDDLE",
          hAlign: "LEFT",
      },
      
      
      container_2: {
          name: "container_2",
          type: "VIEWLAYOUT",
          caption: "容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "TABLE_24COL",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_grid1",
          details: ["toolbar"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      toolbar: {
          name: "toolbar",
          type: "VIEWLAYOUT",
          caption: "TOOLBAR",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CTRLPOS",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "RIGHT",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_2",
      },
      
      
      
      container3: {
          name: "container3",
          type: "VIEWLAYOUT",
          caption: "容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "FLEX",
          layoutPos: "",
          layoutHeight: 100,
          layoutWidth: 0,
          heightMode: "PERCENTAGE",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "page_container",
          details: ["form"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      form: {
          name: "form",
          type: "VIEWLAYOUT",
          caption: "FORM",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CTRLPOS",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container3",
      },
      
      
      colorspan: {
          name: "colorspan",
          type: "VIEWLAYOUT",
          caption: "文本框",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "FIELD",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "page_container",
          required: false,
          dataItemName: "",
          predefinedType: "FIELD_TEXTBOX",
          editorDynaClass: "",
      },
      
      container_group1: {
          name: "container_group1",
          type: "VIEWLAYOUT",
          caption: "分组标题",
          titleBarCloseMode: 1,
          isShowCaption: true,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "FLEX",
          layoutPos: "",
          layoutHeight: 200,
          layoutWidth: 80,
          heightMode: "PX",
          widthMode: "PERCENTAGE",
          spacingBottom: "OUTERMEDIUM",
          spacingLeft: "OUTERSMALL",
          spacingRight: "OUTERSMALL",
          spacingTop: "OUTERMEDIUM",
          hAlignSelf: "CENTER",
          vAlignSelf: "MIDDLE",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "page_container",
          details: ["static_text1"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      static_text1: {
          name: "static_text1",
          type: "VIEWLAYOUT",
          caption: "文本",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "RAWITEM",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_group1",
          predefinedType: "STATIC_TEXT",
          contentType: "RAW",
          contentStyle: ``,
          rawContent: `这里是分组容器内`,
          htmlContent: ``,
          renderMode: "TEXT",
          wrapMode: "NOWRAP",
          vAlign: "MIDDLE",
          hAlign: "CENTER",
      },
      
      
      
    },
  }
}
export const model = getModel();
